﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HF.Test
{
    public class ClassObj
    {
        public string Name { get; set; }

        public string Address;

        public static int Age { get; set; }

        public int this[int index1, string str]
        {
            get => 1;
            set { }
        }

        public static object NewTst() => new Tst();

        private class Tst
        {
            private string Name { get; set; }

            public override string ToString() => Name;            
        }
    }
}
